package com.sm.li.dto;

import com.sm.li.common.valid.anno.Regular;
import com.sm.li.common.valid.group.AddGroup;
import com.sm.li.common.valid.group.UpdateGroup;
import com.sm.li.dto.base.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.math.BigDecimal;
import java.util.List;

@Data
public class AdminDTO extends BaseDTO {


    @ApiModelProperty(value = "用户登陆时的用户名")
    private String adminAccount;

    @ApiModelProperty(value = "管理员登录密码")
    private String adminPassword;

    @ApiModelProperty(value = "管理员姓名")
    private String adminName;

    @ApiModelProperty(value = "管理员性别 0：男   1：女  2：不清楚")
    private Integer gender;

    @ApiModelProperty(value = "手机号码")
    private String adminPhone;

    @ApiModelProperty(value = "管理员邮箱")
    private String adminEmail;

    @ApiModelProperty(value = "管理员头像")
    private String adminAvatar;

    @ApiModelProperty(value = "是否激活")
    private Boolean isActive;

    @ApiModelProperty(value = "是否为超级管理员")
    private Boolean isSuperAdmin;

    @ApiModelProperty(value = "管理员薪资")
    private Double adminSalary;

    @ApiModelProperty(value = "员工住址")
    private String adminAddress;

    @ApiModelProperty(value = "员工身份证号")
    private String adminCode;

    private List<Long> roleIds;
}
